package com.kaifa.org.tp01.example02.service.impl;

import com.kaifa.org.tp01.example01.UserDao;
import com.kaifa.org.tp01.example02.service.UserService;

public class UserServiceImpl implements UserService {
    private UserDao userDao;
//注入
    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public boolean say() {

        userDao.Speak();

        return false;
    }
}
